﻿using System.Configuration;

namespace CID.Execution.Support.TemplateHandling.Configuration
{
    public class TemplateHandlerElementCollection : ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new TemplateHandlerElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return (element as TemplateHandlerElement).TemplateTypeName;
        }
    }
}
